import request from '@/utils/request'

// 查询首信易业务分类列表
export function listPayEaseClassification(query) {
  return request({
    url: '/ecs/payEaseClassification/list',
    method: 'get',
    params: query
  })
}

// 查询首信易业务分类详细
export function getPayEaseClassification(id) {
  return request({
    url: '/ecs/payEaseClassification/' + id,
    method: 'get'
  })
}

// 新增首信易业务分类
export function addPayEaseClassification(data) {
  return request({
    url: '/ecs/payEaseClassification',
    method: 'post',
    data: data
  })
}

// 修改首信易业务分类
export function updatePayEaseClassification(data) {
  return request({
    url: '/ecs/payEaseClassification',
    method: 'put',
    data: data
  })
}

// 删除首信易业务分类
export function delPayEaseClassification(id) {
  return request({
    url: '/ecs/payEaseClassification/' + id,
    method: 'delete'
  })
}
